package com.teamc.team;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.embedded.tomcat.TomcatConnectorCustomizer;
import org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory;
import org.springframework.boot.web.servlet.server.ConfigurableServletWebServerFactory;
import org.springframework.context.annotation.Bean;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableTransactionManagement //开启事务管理
@MapperScan("com.teamc.team.mapper") //扫描包
@SpringBootApplication
public class TeamApplication {

    public static void main(String[] args) {
        SpringApplication.run(TeamApplication.class, args);
        System.out.println("                               o\n" +
                "                            _ooOoo_\n" +
                "                           o8888888o\n" +
                "                           88\" . \"88\n" +
                "                           (| -_- |)\n" +
                "                            O\\ = /O\n" +
                "                        ____/`---'\\____\n" +
                "                     .   ' \\\\| |// `.\n" +
                "                       / \\\\||| : |||// \\\n" +
                "                     / _||||| -:- |||||- \\\n" +
                "                       | | \\\\\\ - /// | |\n" +
                "                     | \\_| ''\\---/'' | |\n" +
                "                      \\ .-\\__ `-` ___/-. /\n" +
                "                    ___`. .' /--.--\\ `. . __\n" +
                "                 .\"\" '< `.___\\_<|>_/___.' >'\"\".\n" +
                "                | | : `- \\`.;`\\ _ /`;.`/ - ` : | |\n" +
                "                  \\ \\ `-. \\_ __\\ /__ _/ .-` / /\n" +
                "          ======`-.____`-.___\\_____/___.-`____.-'======\n" +
                "                            `=---='\n" +
                "         .............................................\n" +
                "         佛祖保佑           永无BUG           永不宕机");
    }
}
